home *** CD-ROM | disk | FTP | other *** search
/ United Public Domain Gold 4 / United Public Domain Gold 4.iso / scope / sc093.dms / sc093.adf / LLogger / LLog.Doc < prev    next >
Text File  |  1989-12-02  |  14KB  |  256 lines

  1. ---------------------------------------------------------
  2. LIGHTNING LOGGER (LLog): The Disk Librarian for the Amiga
  3. © 1988, 1989 by Ron Shaw
  4. ---------------------------------------------------------
  5.  
  6.      Lightning Logger (LLog 3.0) is a fast and effective method for
  7. generating library files of disk contents. Its companion program, LLread,
  8. located in this same drawer, offers varied access to what has been saved.
  9.      While these programs can be run from JUMPDISK, it's recommended you
  10. copy them to a Workbench disk copy for sustained use.
  11.      The LLog program will generate icons for your libraries, and these
  12. icons may be selected for reading in connection with the LLRead program.
  13.      The programs require AmigaDOS 1.2 or higher.
  14.  
  15. USING LLOG
  16.      Let's start with an easy run of the program as it exists on JUMPDISK.
  17.      In the Lightning Logger drawer, open LLog by double-clicking its icon.
  18. This will produce a screen with several gadgets used to run facets of the
  19. program and to give pertinent status information.
  20.      1. Click the colored rectangle (orange in default) to the left of the
  21. INPUT DRIVE window. This produces a requester window with drive choices
  22. listed in it. Click the number of the drive in which JUMPDISK is inserted,
  23. whether DF0:, DF1:, etc. However, if you have a hard drive, DO NOT select
  24. it. The hard drive will be covered later.
  25.      2. Click on the colored gadget at the left of the CLICK ON GADGET TO
  26. ENTER FILE NAME window. Another window opens, asking for the library file
  27. name. Click in its blue section. Type:
  28.  
  29. ram:hold
  30.  
  31. . . . and click the DONE gadget that appears.
  32.      3. Click the colored box at the left of the LIBRARIAN FILE message:
  33. <- Press Load Button When Ready.
  34.      4. Answer the requester IS THIS A NEW FILE? by clicking the YES box
  35. that appears.
  36.      5. You are next asked to enter am LLREAD path. Type:
  37.  
  38. ram:
  39.  
  40. . . . and click DONE.
  41.      6. Click on the MAN gadget for manual logging.
  42.      The logging process is automatic from this point. When it is complete,
  43. a brief message appears on the screen regarding the status of the logged
  44. file.
  45.      At this point you may quit the program by choosing the QUIT option from
  46. the pulldown PROJECT menu at top left of screen. You might want to read the
  47. LLread documentation to find out how to access the information you have just
  48. saved. Because the test file is in RAM:, you should not turn off or reboot
  49. the computer before you try LLread.
  50.  
  51. AND MORE
  52.      Let's now look at the program in greater depth.
  53.      You may use more than one drive as the log-in drives. If you have more
  54. than two floppy drives or two floppies and a hard drive, you may elect to
  55. use two floppy drives for logging. Click on the second drives gadget. When
  56. these drives are selected, a DRIVES READY sign will appear in the rectangle
  57. left of the gadget clicked. Selecting ABORT from the devices requester
  58. removes the selected device from the drives item.
  59.      Once you have selected logging drives, click on the LOAD LIBRARY gadget
  60. to load or create a new library. This brings up a string gadget. Enter the
  61. drive:path/name of the file you would like to name your file. The drive
  62. should not be the same as the drive(s) you selected to do the logging. If
  63. the file is non-existent, a requester will ask if this is a new file. If so,
  64. click YES. If not, click NO. If the file is existent, you have evidently
  65. entered an incorrect file name and/or path and the logger could not find the
  66. existing file.
  67.       Once the log file is loaded or you enter the name of the file you wish
  68. to create, you will be asked to enter the path to LLread, if creating a new
  69. file, and to enter the actual VOLUME:PATH to LLread. LLog inserts this
  70. information in the default tool on the icon it builds for your librarian
  71. file. Once this is done, the name you enter should appear in the rectangular
  72. window under the LIBRARIAN note. If it is a new file, the box to the right
  73. of the file will be blank. If the file has previously been created and is
  74. loaded by the logger, the size will be displayed in the rectangle to the
  75. right of name of the file. An existing file will display the number of
  76. previously logged items in the AMOUNT LOGGED rectangle.
  77.      Make sure the bottom left gadget of the logger says "MAN." This is the
  78. manual mode of the logger. Install disks in the drives indicated by the
  79. message center at top of screen and click on the manual log gadget. This
  80. will start the logger.
  81.      The message center will prompt when to insert new disks for logging.
  82.  
  83. VOLUME NAME ALIAS
  84.      LLog lets you name the disk logged with a name you choose, rather than
  85. actual volume name of the disk. This function is known in LLog as
  86. alias(ing). The program does not write the user-entered name to the disk
  87. itself but saves this alias and the actual name in the librarian file. This
  88. name is used in LLread as the volume name and the user will not see the
  89. actual name of the disk. If the disk being logged is not a DOS disk, the
  90. alias string gadget will appear and the user must enter a name for LLog to
  91. save this entry. Only the alias (name) will be saved from a non-DOS disk. No
  92. files and the like can be saved.
  93.      Example use of alias:
  94.      Actual disk name = "AFS"
  95.      User entered alias = "Flight Simulator"
  96.      If the alias item is selected, each volume logged will bring up the
  97. alias string gadget. If you change your mind and want to use the actual
  98. volume name rather than an alias, press Return on the keyboard instead of
  99. entering any characters in the alias string gadget. If the disk can't be
  100. read by LLog, a blank entry will cause LLog to not record the disk. Default
  101. for aliasing is OFF.
  102.  
  103. LOG DISK NAME ONLY
  104.      Using the OTHER menu, or associated keys located next to the items in
  105. the OTHER menu, you may elect not to save directories and files. Default
  106. is to log the entire disk. To log volume names only:
  107.      From the menu:
  108.      -- Select FILES (check mark should be off)
  109.      -- Select DIRS (check mark should be off)
  110.      From the CLI or Shell:
  111.      -- Select right AMIGA key and F (to de-select or select files)
  112.      -- Select right AMIGA key and D (to de-select or select files)
  113.      A check mark next to the item indicates the item is on.
  114.  
  115. AUTO LOG
  116.      Use this with care, because disk insertion is being read by the
  117. program.
  118.      Follow the steps for manual logging except: Rather than clicking on the
  119. MAN gadget, select AUTOLOG from the menu. This will change the MAN gadget to
  120. AUTO. There will be a message displayed in the message center. Click on the
  121. AUTO gadget and then insert the disk(s) to be logged. The logger will
  122. automatically start logging and will prompt you when to change disks.
  123.      After starting the logger in the AUTO mode, you normally never have to
  124. click on the AUTO gadget again. The logger will detect insertion of disks
  125. and start logging again .
  126.       To end the program, select QUIT from the pulldown PROJECT menu at top
  127. left of screen.
  128.      The ABORT gadget is a simple way to stop the auto mode in case you want
  129. to insert a volume for display or reading without being logged. After
  130. clicking on the ABORT gadget, it is necessary in AUTO mode to click on the
  131. AUTO gadget again to re-initialize the AUTO mode before inserting disk(s)
  132. for logging.
  133.  
  134. LOGGING HARD DRIVES:
  135.      Select LOG HARD DRIVE from menu, and a device requester will appear
  136. for each hard drive detected by the system.
  137.      Click on the hard drive to be logged and it will automatically be
  138. logged, displaying free space in the message window. If your hard drive has
  139. been previously logged, the old volume will be deleted, then relogged.
  140.  
  141. RELOGGING
  142.       If unsure if a disk has been previously logged, just insert it and log
  143. anyway. If the volume was previously logged and has changed, the old volume
  144. will be deleted with the new log replacing it.
  145.      The program cannot distinguish between a master or a copy created by
  146. a professional backup program such as Marauder. Volume creation dates are
  147. the same on the copy and the original. Lightning Logger uses the creation
  148. date and the last file updated date to determine if a disk has been logged
  149. or changed. Therefore, volumes with the same names can be logged with no
  150. problems and will be treated differently by the logger and reader.
  151.  
  152. DISK COLLECTION LOGS
  153.       Lightning Logger allows for cataloging a disk collection. It creates
  154. two files. The file with .llg extension is the librarian file. It maintains
  155. the list of volumes logged. The other file is the Data File and holds the
  156. names of the directories, file names, comments and other pertinent
  157. information. Once volumes have been logged with Lightning Logger, you can
  158. use Lightning Reader (LLread) to find files or comments without finding and
  159. reading the actual disk. This alone reduces locating time to a minimum.
  160.  
  161. DELETE VOLUME
  162.       Allows the user to delete a volume from the volumes entered into the
  163. logger. When scrolling through the volume list, all volumes displayed in red
  164. are deleted. If you delete a volume by mistake, it can be restored by
  165. selecting it again and clicking on DELETE. The restored volume will be
  166. redisplayed in black.
  167.      The actual volume is not deleted until a new library is written. Delete
  168. volume only sets a flag so the LLread program does not load this volume into
  169. memory.
  170.      When exiting the log program, if you have volumes deleted by the user
  171. or by the logger itself, the program will ask if you want to write a new
  172. library. Only at this time are the actual volume and its associated files
  173. deleted. You may elect not to create a new library, thus keeping the old set
  174. of records available for restoring.
  175.  
  176. ONE-DRIVE USE
  177.      The best way to use the logger on a one-drive system is to make a
  178. directory in ram:L and copy the disk-validater to ram:l and then assign
  179. L: ram:l     -- but do this only if you get repeat messages to insert your
  180. Workbench.
  181.  
  182. PREPARATION
  183.      Lightning logger can reduce the time needed to find most files to a
  184. minimum, if you follow a few rules.
  185.      Add filenotes to files of given classifications to categorize them:
  186. art, HAM pictures, Basic programs, executables and the like. As you will see
  187. later, the LLread program has options for filtering and seeking strings
  188. within comments.
  189.      The plan is for a future version of LLog to allow users to enter file
  190. notes.
  191.  
  192. ICON GENERATION:
  193.      The LLog program internally generates an icon to be used with LLread.
  194. This is a recently added feature which makes it unnecessary to maintain an
  195. icon's drawer with a sample llg.info file for use with LLog. Any new lib
  196. file generated with LLog will now build its own icon.
  197.      If you have files created with an earlier version of the program, there
  198. is an easy way to generate the new icon with a path to LLread. Load the LLog
  199. program, set up a test log file in RAM:, log one disk with no files, no
  200. dirs, setting up the path to LLread when the program requests it. Exit
  201. Logger. From the CLI or Shell, copy this icon only to the directory of the
  202. old Logger file, naming the icon the same as the existing icon for that
  203. file, with the .info extension.
  204.  
  205. SPECIAL ITEMS
  206.     If logging to RAM:, RAD:, or any disk other than the disk on which the
  207. lib files will be kept, move all associated lib files to that disk. It is
  208. not enough to just move the icon for that file. There are still two files
  209. associated with the Logger: the volume file, made up of the volume names and
  210. offsets for records, and the main data file. These files have the same name
  211. except one will have the suffix .llg.
  212.  
  213. LOGGING
  214.     You can move existing lib files to RAM:, VD0:, VDK:, RAD: and Log to
  215. these devices. Because of discrepancies existing between avail (which uses
  216. the same method of verifying available RAM as programmers) and actual memory
  217. free display on the Workbench screen, the user must make sure enough RAM: is
  218. available before logging or building a clean library using one of these
  219. devices.
  220.      The total size of both library files is shown in the box to the right
  221. of the library file name. If you elect to use the RAM disk, RAD:, or any
  222. other memory device, you will find removal of deleted items from an existing
  223. library will be quicker.
  224.  
  225. LLREAD PATH
  226.     After entering a library file name for a new file, a string requester
  227. will appear for specifying path to LLread. This is helpful to hard drive
  228. owners (I'm one) who put LLread and LLog in a directory three or four levels
  229. from the root. Enter the path to LLread (an example: SYS:Utilities/Logger).
  230. The LLog program will append the necessary slash if needed and the name of
  231. the Lightning Reader Program (LLread), so the user can click directly on the
  232. created icon to load LLread, no matter where it resides. You can still click
  233. on the Lib file icon and double-click on LLread to boot the reader with the
  234. selected file as default. However, if you constantly use one specific
  235. LLogger file, read the section in the LLread docs about AUTO LOAD OF DEFAULT
  236. FILE. I use it to bring up my source code library containing items such as
  237. Fred Fish's disk collection. Thus, from CLI in any directory I can run
  238. LLread and it will start loading my source code library automatically. All I
  239. have to do is enter the files I'm seeking and and hit the search gadget.
  240.  
  241. FROM THE AUTHOR
  242.      To be notified of updates to the logger programs or programs that work
  243. in conjunction with the logger, please send a note including your name,
  244. address and telephone number with area code.
  245.      All comments are acknowledged and appreciated.
  246.      There is no implied warranty with this program.
  247.      Many thanks for trying it.
  248.      Lightning Logger and associated programs were compiled with the Manx
  249. Aztec C Compiler 3.6 (16 bit code) on a 2.1 MB Amiga 1000 with Supra 20Meg
  250. Hard Drive.
  251.  
  252.      Ron Shaw, RTS Electronics, PO BOX 9015, Cocoa, FL 32922. Telephones:
  253. (407) 631-9286 or (407) 639-9123.
  254.  
  255. END OF TEXT
  256.